package com.sh.data.engine.domain.workspace.index.model.mapper;

import com.sh.data.engine.domain.workspace.index.model.domain.ProjectDomain;
import com.sh.data.engine.repository.dao.workspace.index.entity.ProjectEntity;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/20 17:44
 */
@Mapper(componentModel = "spring")
public interface ProjectDomainMapper {

    ProjectDomain map(ProjectEntity entity);

    List<ProjectDomain> map(List<ProjectEntity> projectEntities);
}
